package com.example.jikejavatrain.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 * @author fangzhuangzhan
 * @date 2021/09/04 11:42
 */
@Configuration
@Data
public class SchoolConfig {

    private String shoolName = "shoolName";

    @Bean
    public RedisTest init(){

        return new RedisTest();
    }

}
